Skip to main content
Voids one tender that is not yet PAID, CANCELLED, or REFUNDED. The call is idempotent by idempotency_key. A paid tender is refunded instead.
Requires a Storefront API access token from Token exchange. The order must already be placed.
In @fire-spark/storefront, call order.voidTender(tenderId, reason).

Path parameters

Request body

Response

Returns 200 with the order. The tender status is CANCELLED when the provider accepts the void. A provider result of NEEDS_REVIEW still voids the tender and reports the case for review. A rejection returns 502 and leaves the tender unchanged.

Error responses